{"version":3,"sources":["glavred.js"],"names":["BX","namespace","createSelectionRange","Landing","Utils","wrapSelection","STATUS_OK","STATUS_FAIL","STATUS_PENDING","Client","Glavred","this","markupMatcher","RegExp","serviceStatus","proofStatus","getInstance","instance","prototype","getStatus","Promise","resolve","reject","top","glvrd","response","status","message","bind","proofread","node","then","textContent","removeMarkup","addMarkup","getScore","fragments","text","forEach","fragment","range","start","end","element","create","props","className","addEventListener","UI","Tool","Suggest","show","hint","innerHTML","replace"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,qBAEb,IAAIC,EAAuBF,GAAGG,QAAQC,MAAMF,qBAC5C,IAAIG,EAAgBL,GAAGG,QAAQC,MAAMC,cAErC,IAAIC,EAAY,KAChB,IAAIC,EAAc,OAClB,IAAIC,EAAiB,UAQrBR,GAAGG,QAAQM,OAAOC,QAAU,WAE3BC,KAAKC,cAAgB,IAAIC,OAAO,4DAA+D,KAC/FF,KAAKG,cAAgBN,EACrBG,KAAKI,YAAcT,GASpBN,GAAGG,QAAQM,OAAOC,QAAQM,YAAc,WAEvC,OACChB,GAAGG,QAAQM,OAAOC,QAAQO,WACzBjB,GAAGG,QAAQM,OAAOC,QAAQO,SAAW,IAAIjB,GAAGG,QAAQM,OAAOC,UAK9DV,GAAGG,QAAQM,OAAOC,QAAQQ,WAKzBC,UAAW,WAEV,OAAO,IAAIC,QAAQ,SAASC,EAASC,GACpC,GAAIX,KAAKG,gBAAkBR,EAC3B,CACCiB,IAAIC,MAAML,UAAU,SAASM,GAC5B,GAAGA,EAASC,SAAWpB,EAAW,CACjCe,IACAV,KAAKG,cAAgBR,MACf,CACNgB,EAAOG,EAASE,SAChBhB,KAAKG,cAAgBP,IAErBqB,KAAKjB,WAGR,CACCU,MAEAO,KAAKjB,QASRkB,UAAW,SAASC,GAEnB,OAAOnB,KAAKQ,YACVY,KAAK,WACL,OAAO,IAAIX,QAAQ,SAASC,GAC3BE,IAAIC,MAAMK,UAAUC,EAAKE,YAAaX,OAGvCU,KA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